package edu.mju.route.vo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * <p>
 *  向前端返回的结果集
 * </p>
 *
 * @author CBL
 * @since 2020-12-30
 */
@Data
public class ReFrontSpot implements Serializable {

    private static final long serialVersionUID = 1L;
    private Integer id;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "公司号")
    private Integer companyId;

    @ApiModelProperty(value = "景点列表")
    private List<ClientSpot> spotList;

    @ApiModelProperty(value = "门票")
    private BigDecimal price;

    @ApiModelProperty(value = "天数")
    private Integer totalDay;

    @ApiModelProperty(value = "行程安排")
    private String scheduling;

    @ApiModelProperty(value = "交通工具")
    private String vehicle;

    @ApiModelProperty(value = "点赞数")
    private Integer likenum;

    @ApiModelProperty(value = "总人数")
    private Integer maxPeople;

    @ApiModelProperty(value = "已报名人数")
    private Integer registeredPeople;

    @ApiModelProperty(value = "线路状态，1：待开启，2：进行中，3：已结束")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    private Date gmtModified;

}
